package com.fifth.emp.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fifth.common.pojo.entity.Message;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统通知表 Mapper 接口
 * </p>
 *
 * @author 徐志豪
 * @since 2022-09-02
 */
@Mapper
public interface MessageMapper extends BaseMapper<Message> {

    //连表查询
    IPage<Message> getMessage(IPage<Message> page, @Param("ew") Wrapper<Message> wrapper);
}
